package com.macro.mall.portal.service.impl;

import java.util.List;

import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.macro.mall.mapper.BmsDictDataMapper;
import com.macro.mall.model.BmsDictData;
import com.macro.mall.portal.service.BmsDictDataService;
import com.macro.mall.request.BmsDictDataParam;

/**
 * 观光车点位图片Service实现类 Created by macro on 2018/4/26.
 */
@Service
public class BmsDictDataServiceImpl implements BmsDictDataService {

    @Autowired
    private BmsDictDataMapper bmsDictDataMapper;

    @Transactional
    @Override
    public List<BmsDictData> selectList(BmsDictDataParam bmsDictDataParam) {
        BmsDictData bmsDictData = new BmsDictData();
        BeanUtils.copyProperties(bmsDictDataParam, bmsDictData);
        List<BmsDictData> list = bmsDictDataMapper.selectList(bmsDictData);
        return list;
    }

}
